package com.example.eventlistener.event;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * @Description : 自定义事件two
 * @Author : Bruce Lee
 * @CreateTime : 2023/11/21
 */

@Getter
@Setter
public class MyEvent_two extends ApplicationEvent {

    private String msg;

    public MyEvent_two(Object source, String msg) {
        super(source);
        this.msg = msg;
    }
}
